package com.sky.service;

import com.sky.dto.SetmealDTO;
import com.sky.dto.SetmealPageQueryDTO;
import com.sky.entity.Setmeal;
import com.sky.result.PageResult;
import com.sky.vo.SetmealVO;

import java.util.List;

/**
 * @Author: Yosoo
 * @Date: 2025/5/19 08:34
 * @Description:
 */
public interface SetmealService {
    /**
     * 新增套餐
     * @Author:     Yosoo
     * @Date:       2025/5/19 08:39
     * @Description:
     * @param setmealDTO
     */
    void save(SetmealDTO setmealDTO);

    PageResult pageQuery(SetmealPageQueryDTO setmealPageQueryDTO);

    /**
     * 根据id查询
     * @Author:     Yosoo
     * @Date:       2025/5/19 09:41
     * @Description:
     * @param id
     * @return
     */
    SetmealVO getById(Long id);

    /**
     * 修改套餐
     * @Author:     Yosoo
     * @Date:       2025/5/19 09:51
     * @Description:
     * @param setmealDTO
     */
    void update(Setmeal setmealDTO);

    /**
     * 批量删除套餐
     * @Author:     Yosoo
     * @Date:       2025/5/19 09:51
     * @Description:
     * @param setmeal
     */
    void updateStatus(Setmeal setmeal);

    /**
     * 批量删除套餐
     * @Author:     Yosoo
     * @Date:       2025/5/19 09:55
     * @Description:
     * @param ids
     */
    void deleteBatch(List<Long> ids);
}
